SizingOptions.SetNextAvailableSize
Description:
Sets the next available size based on the specified inner diameter.
Sets the next available size based on the specified inner diameter.
Overloads (2):
SetNextAvailableSize(ConnectorProfileType,Double,Double,ISet[MEPSize])
public void SetNextAvailableSize(
ConnectorProfileType profileType,
double width,
double height,
ISet<MEPSize> availableSizes
)
-
profileTypeThe profile type of the duct or pipe, such as round, rectangular or oval.
-
DoublewidthThe width value that the next available size must exceed.
-
DoubleheightThe height value that the next available size must exceed.
-
ISet<MEPSize>availableSizesThe sorted list of available sizes for both width and height, where the smallest possible size yet larger than the specified value will be selected.
-
A non-optional argument was null
-
The given value for width must be positive. -or- The given value for height must be positive. -or- The width must be within the range of availableSizes. -or- The height must be within the range of availableSizes. -or- A value passed for an enumeration argument is not a member of that enumeration